/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bllInterface;

import bllInterface.UserInformation;

/**
 *
 * @author Mrkupi
 */
public class UserInformationImpl implements UserInformation
{
    String name;
    String type;
    int level;
    long exp;
    
    public UserInformationImpl( String name, long exp, int lvl, String type )
    {
        this.name   =   name;
        this.exp    =   exp;
        this.level  =   lvl;
        this.type   =   type;
    }

    @Override
    public String getName() {
        return this.name;
    }

    @Override
    public int getLevel() {
        return this.level;
    }

    @Override
    public long getExp() {
        return this.exp;
    }

    @Override
    public String getType() {
        return this.type;
    }
    
    public static UserInformation createUserInfomation( String name, int level, long exp, String type )
    {
        return new UserInformationImpl(name, exp, level, type);
    }
}
